﻿using MediatR;
using SmartApplication.Api.Dto;
using SmartApplication.ApiCode;

namespace SmartApplication.Api.Applient.Command.Source
{
    /// <summary>
    /// 分页显示溯源数据
    /// </summary>
    public class ListSourceCommand:IRequest<ApiPaging<List<SourceDto>>>
    {
        public int Pageindex { get; set; } = 1;
        public int Pagesize { get; set; } = 10;

        /// <summary>
        /// 商品名称
        /// </summary>
        public string? ShopName { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        public string? Production { get; set; }
        /// <summary>
        /// 保质期(天数)
        /// </summary>
        public int Expiration { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? ExpNumber { get; set; }
        /// <summary>
        /// 企业
        /// </summary>
        public string? Enterprise { get; set; }
    }
}
